package com.cloudm.technician.ui.modules.cloudm_box.transfer

import com.cloudm.technician.data.network.CloudmBoxApi
import com.cloudm.technician.di.ForCloudm
import com.cloudm.technician.di.PerFragment
import dagger.Module
import dagger.Provides

/**
 * 作者: wesley
 * 时间: 2017/12/24
 * 描述: 提供实例
 */
@Module
class TransferPresenterModule(private val view: TransferContract.View) {

    @PerFragment
    @Provides
    fun provideTransferPresenter(@ForCloudm cloudmBoxApi: CloudmBoxApi,
                                 cloudm: CloudmBoxApi) = TransferPresenter(view, cloudmBoxApi,
            cloudm)
}